package com.hqu.environment.dao;

import com.hqu.environment.dto.UserDTO;

import java.util.List;

/**
 * @Description: 用户dao层
 * @Date: 2019/04/12 16:03
 * @Author: 邓勇嘉
 **/
public interface UserDao {
    int deleteByPrimaryKey(Integer id);

    int insertSelective(UserDTO record);

    UserDTO selectByPrimaryKey(Integer id);

    List<UserDTO> selectList(UserDTO statement);

    int updateByPrimaryKeySelective(UserDTO record);

    UserDTO selectPasswordByLoginId(String loginId);

    int selectCountByEmail(String email);

    int selectCountByPhone(String email);

    int selectCountByEmpno(String empno);

    int selectAllCount();

    int selectApplyCount();

}
